{include file="index/header" /}

 
 <!-- 主要的左中右结构内容 -->
<div class="row" style="    margin-top: 254px;">

  <!-- 左侧开始 -->
  <div class="col-xs-12 col-md-3 hidden-xs">

    <!-- 用户信息列表 -->
    <ul class="list-group">
      <li class="list-group-item"><a href="{:url('index/index/course')}">全部课程</a></li>
      <li class="list-group-item"><a href="{:url('index/index/course')}">课程表 </a></li>
      <li class="list-group-item"><a href="{:url('index/index/course')}">{:lang('课程表')}</a></li>
      <li class="list-group-item"><a href="https://study.163.com/course/introduction/1005224025.htm?share=2&shareId=400000000336019">Laravel5.6入门</a></li>
      <li class="list-group-item"><a href="http://study.163.com/course/introduction.htm?courseId=1005914003&share=2&shareId=400000000336019">Laravel5.6留言板</a></li>
    </ul>

    <div class="panel panel-default">
        <div class="panel-heading">学习进度 <sapn class="pull-right">更多</sapn>
</div>
        <div class="panel-body">

                    在线问答<br>
    {$usert.rand? 'VIP' : ''}

<span class="glyphicon glyphicon-time" aria-hidden="true"></span>
    {$usert.create_time} 加入  {$usert.nickname} 昵称
    

    <span class="glyphicon glyphicon-yen" aria-hidden="true"></span> {$usert.online_time} 分钟

    <span class="glyphicon glyphicon-home" aria-hidden="true"></span>
     {$usert.ipinfo.city}

     <span class="glyphicon glyphicon-map-marker " aria-hidden="true"></span> 
    {$usert.ipinfo.region}


    <span class="glyphicon glyphicon-signal " aria-hidden="true"></span> {$usert.ipinfo.isp}
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-heading">公告：</div>
        <div class="panel-body">
         
           这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告 


        </div>

     </div>


  </div> 
  <!-- 左侧结束 -->


  <!-- 中间开始 -->
  <div class="col-xs-12 col-md-6">



 
     

         <!--简易即时聊天-->
                <form  action="" method="post" name="myformdislpayshow">
                  <div id="reply_aa" class="form-group input-group field-feed-content required"  >
                             
                           <textarea id="titleChat_send" name="titleChat_send"  class="form-control"  placeholder="写随笔" aria-required="true"></textarea>



                            <span class="input-group-btn"><button type="submit" class="btn btn-success"  style="height: 54px;width: 54px;">发布</button></span>
                            
                                                      

                                                      

                                   
                   </div>
                 </form>
                <span id="bbs" style="display: none">666999</span>

                <div class="bss_content"  id="bss_content" name="bss_content" style="margin-bottom: 10px; word-wrap:break-word;">

                    <span id="bbs_index">

                    {volist name='data' id='user'}


       <div class="panel panel-default">
      <div class="panel-body">

                    <div   class=" col-xs-12 col-sm-12 col-md-12 " style="padding: 0px;    border-bottom: 0px solid #eee;    margin-bottom: 0px; ">


                        <div class="media" >
                            <div class="media-left" >
                                <a href="{:url('/')}index/member/home/user_id/{$user.user_id}">
                                    <img class="media-object img-circle"    src="{$user.user.userqq.figureurl_qq_2?$user.user.userqq.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true" style="width: 28px; height: 28px;">
                                </a>
                            </div>

                            <div class="media-body">

                                <!-- 点赞左右结构 -->
                                <div class="row">
                                  <div class="col-xs-6 col-md-7">
                                        <small><a href="{:url('/')}index/member/home/user_id/{$user.user_id}">

                                        {$user.user.userqq.nickname?$user.user.userqq.nickname:'学员'.$user.user.id}
                                        



                                          


                                    </a></small>
                                  </div>

                                </div>

                                                                <small>  

                                                                  {if condition="$user.dataself.title"}
                                                                <div class="form-group input-group field-feed-content required" style="background-color:  #f4f4f4;padding: 10px;color: #555555">

                                                                     @  {$user.dataself.user.userqq.nickname?$user.dataself.user.userqq.nickname:'学员'.$user.user.id}  : {$user.dataself.title}
                                                 
                                                                </div>

                                                               {/if}

                                                                <a href="{:url('/')}index/index/view/id/{$user.shop}"> {$user.title}</a>
                                                                        

                                                                </small>
                                                                <h5> <small> {$user.watermelon.title}  {$user.create_time}  
 
                                                                       <a href = "javascript:void(0);"  onclick="document.getElementById('reply_{$user.id}').style.display = document.getElementById('reply_{$user.id}').style.display=='none'?'':'none' ">回复</a> 
                                                                      
                                                                {volist name='user.likesList' id='lik'}
                                                                           {$lik.user.nickname}   <a href="{:url('index/member/home',['user_id'=>$lik.user_id])}">
                                    <img class="  img-circle"    src="{$lik.user.userqq.figureurl_qq_2?$lik.user.userqq.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true" style="width: 28px; height: 28px;">
                </a>
                                                                  {/volist}

                                                                                                   </small></h5>
                                                               
                                          <form  id="reply_{$user.id}" action="" method="post" name="myformdislpayshow" style="display: none">
                                                    <div class="form-group input-group field-feed-content required" >
                                                        <input type="hidden" name="reply" value="{$user.id}">
                                                         
                                                    <textarea id="titleChat_{$user.id}" name="titleChat_send"  class="form-control"  placeholder="写评论" aria-required="true"></textarea>
                                                    <span class="input-group-btn"><button type="submit" class="btn btn-success"  style="height: 54px;width: 54px;" >评论</button></span>




                                                     </div>
                                 
                                              {volist name='user.dataselfreply' id='dataself'}
                                               
                                               

                                                                    <h5>                                <a href="{:url('/')}index/member/home/user_id/{$dataself.user_id}">
                                    <img class="  img-circle"    src="{$dataself.user.userqq.figureurl_qq_2?$dataself.user.userqq.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true" style="width: 28px; height: 28px;">
                                </a>
                                                                     {$dataself.user.userqq.nickname?$dataself.user.userqq.nickname:'学员'.$dataself.user.id}    :{$dataself.title} {$dataself.create_time}</h5>   
                                                 
                                                                 
                                               {/volist} 

                                             </form>  
  

                            </div>
                            
                             
                        </div>



                    </div>

 
      </div>
      <div class="panel-footer  text-center " >
        <div class="row">
                        <div class="col-xs-3" style="color: #8590a6"><span class="glyphicon glyphicon-star-empty" aria-hidden="true"></span> 收藏</div>
                        <div class="col-xs-3" style="color: #8590a6"><span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span> 转发</div>
                        <div class="col-xs-3" style="color: #8590a6" onclick="document.getElementById('reply_{$user.id}').style.display = document.getElementById('reply_{$user.id}').style.display=='none'?'':'none' " ><span class="glyphicon glyphicon-comment" aria-hidden="true"></span> {:count($user.dataselfreply)?count($user.dataselfreply):'评论'}    

                         </div>
                        <div class="col-xs-3" onclick='public_ajax("{$Think.server.script_name}/index/index/view/data_id/{$user.id}",0)'>

                                          <span id="like_icon_{$user.id}" style="color: {$user.on?'#0084ff':'#8590a6'}; fill: currentColor;"> 
                                            <svg viewBox="0 -3 20 16" xmlns="http://www.w3.org/2000/svg" class="likeicon" width="13" height="16" aria-hidden="true" style="height: 16px; width: 13px;"><title></title><g><path d="M.718 7.024c-.718 0-.718.63-.718.63l.996 9.693c0 .703.718.65.718.65h1.45c.916 0 .847-.65.847-.65V7.793c-.09-.88-.853-.79-.846-.79l-2.446.02zm11.727-.05S13.2 5.396 13.6 2.89C13.765.03 11.55-.6 10.565.53c-1.014 1.232 0 2.056-4.45 5.83C5.336 6.965 5 8.01 5 8.997v6.998c-.016 1.104.49 2 1.99 2h7.586c2.097 0 2.86-1.416 2.86-1.416s2.178-5.402 2.346-5.91c1.047-3.516-1.95-3.704-1.95-3.704l-5.387.007z"></path></g></svg>  
                                           
                                        <span  style="position: relative;">  
                                                <small><span id="like_{$user.id}"  style="color: #555; font-size: 12px">{$user.likeslist_count?$user.likeslist_count:"赞"}</span> </small>
                                                                      </span> 
                                                                  
                                                                  <span id="like_a_{$user.id}" style="position:absolute;left:0px;top:0px;z-index:-20;color: red ;animation:mylike 2s;display:none ">+1</span>

                                                               </span>
                                   
                         </div>
            </div>
      </div>
    </div>


                    {/volist}


                        </span>

                </div>



    <!-- 长分页 最小屏幕尺寸不可见-->
    <div  class="hidden-xs text-center " > {$data->render()}</div>
    <!-- 短分页 仅最小屏幕尺寸可见   -->
    <div class="visible-xs-block text-center">
           <nav aria-label="... ">
              <ul class="pagination">
                {if condition="$data->currentPage() >1"}
                <li  ><a href="{:url('index/member/myhome',['page'=>$data->currentPage()-1])}" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
                <li  ><a href="{:url('index/member/myhome',['page'=>$data->currentPage()-1])}">{$data->currentPage()-1} <span class="sr-only">(current)</span></a></li>
                {/if}
                <li class="active"><a href="#">{$data->currentPage()} <span class="sr-only">(current)</span></a></li>

                {if condition="$data->currentPage() < $data->lastPage()"}
                <li  ><a href="{:url('index/member/myhome',['page'=>$data->currentPage()+1])}">{$data->currentPage()+1} <span class="sr-only">(current)</span></a></li>
                <li  ><a href="{:url('index/member/myhome',['page'=>$data->currentPage()+1])}" aria-label="Previous"><span aria-hidden="true">»</span></a></li>
                {/if}
              </ul>
            </nav>
        
     </div>
 


 

      <div class="panel panel-default">
        <div class="panel-heading">公告：</div>
        <div class="panel-body">
         
           这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告这里加公告 


        </div>

      </div>

  </div>
  <!-- 中间结束 -->




    <!-- 右侧开始 -->
  <div class="col-xs-12 col-md-3">

        
      
     
     <div class="panel panel-default" style="   /*background: url(https://img.t.sinajs.cn/t6/skin/skinvip757/images/profile_cover_s.jpg?version=cf6793a7f3cff12c) no-repeat top center; background-color: transparent; */  ">
  <div class="panel-body text-center ">
     

<img    class="img-responsive center-block img-circle" style="   width: 100px; height: 100px;   margin: 38px auto 0;  padding: 4px;     background: rgba(255,255,255,0.3);"   src="{$usert.userqq.figureurl_qq_2?$usert.userqq.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true"  >

 <h5>     {$usert.userqq.nickname?$usert.userqq.nickname:'<a href=https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=100556678&redirect_uri=http://open.gaoxueya.com/index/api/qq&scope=get_user_info>绑定qq设置或更换昵称和头像</a>'}    </h5>


  </div>
   <div class="panel-footer  text-center " > 关注 {:count($usert.follow)}  丨粉丝 {:count($usert.fans)} 丨 随笔 {$usert.myblog_count} </div>
</div>


       
    



    <div class="panel panel-default">
        <div class="panel-heading">关注  {:count($usert.follow)}：</div>
        <div class="panel-body">
         


            {volist name='usert.follow' id='follow'}

 
 
                    <a href="{:url('index/member/home',['user_id'=>$follow.follow_id])}" class="thumbnail">
                                    <img class="  img-circle"    src="{$follow.followuser.figureurl_qq_2?$follow.followuser.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true" style="width: 28px; height: 28px;">
                    </a>
 


             {/volist}

        </div>

      </div>
      <div class="panel panel-default">
        <div class="panel-heading"> 粉丝 {$usert.fans_count}</div>
        <div class="panel-body">
         


            {volist name='usert.fans' id='fo'}


                 
                    <a href="{:url('index/member/home',['user_id'=>$fo.user_id])}" class="thumbnail">
                                    <img class="  img-circle"    src="{$fo.userqq.figureurl_qq_2?$fo.userqq.figureurl_qq_2:'__STATIC__/images/user/user ('.rand(1,25).').jpg'}" data-holder-rendered="true" style="width: 28px; height: 28px;">
                    </a>

               
 


             {/volist}

        </div>

      </div>
 

      </div>
  </div><!-- 右侧结束 -->
</div>
<!-- 左右结构结束 -->

 








 

{include file="index/footer" /}